package com.qiaodata.datatrans.utils;

/**
 * Created by Administrator on 2016/11/15 0015.
 */
public class JsonResult<T> {

    //返回json信息
    private String result;

    /**
     * 返回包装的信息
     * @param result
     * @return
     */
    public  static <T> JsonResult<T> getInstance(String result){
        JsonResult<T> resultJson = new JsonResult<T>();
        resultJson.setResult(result);
        return resultJson;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }


}
